package com.google.code.jholidays.io;

import com.google.code.jholidays.core.DescriptorCollection;
import com.google.code.jholidays.io.csv.CsvReader;
import com.google.code.jholidays.io.jdbc.JdbcReader;
import com.google.code.jholidays.io.xml.XmlReader;


/**
 * Represents reader which can read {@link DescriptorCollection} from external
 * data source
 * 
 * @see CsvReader
 * @see XmlReader
 * @see JdbcReader
 * @author tillias
 * 
 */
public interface IDescriptorReader {
    /**
     * Reads source data source and returns {@link DescriptorCollection}.
     * 
     * @return Descriptors collection if succeeded, null pointer otherwise.
     * @see DescriptorCollection
     */
    public abstract DescriptorCollection read();
}
